package org.thirdHero.wx.vo;

import java.io.Serializable;

public class CarsMoney implements Serializable {
    /**
     * 上牌费用
     */
    private double licenseTax;
    /**
     * 购置税
     */
    private double purchaseTax;
    /**
     * 车船使用税
     */
    private double usageTax;
    /**
     * 交通事故责任强制保险
     */
    private double trafficInsurance;
    /**
     * 第三者责任险是指
     */
    private double thirdInsurance;
    /**
     * 车辆损失险
     */
    private double damageInsurance;
    /**
     * 全车盗抢险
     */
    private double stolenInsurance;
    /**
     * 玻璃单独破碎险
     */
    private double glassInsurance;
    /**
     * 自燃损失险
     */
    private double combustInsurance;
    /**
     * 不计免赔特约险
     */
    private double noDeductibleInsurance;
    /**
     * 无过责任险
     */
    private double noLiabilityInsurance;
    /**
     * 车上人员责任险
     */
    private double passengerInsurance;
    /**
     * 车身划痕险
     */
    private double carBodyInsurance;
    /**
     * 涉水险·
     */
    private double waterInsurance;
    /**
     * 全款购车价格
     */
    private double total;
    /**
     * 首付款
     */
    private double prePay;
    /**
     * 贷款额
     */
    private double loanMoney;
    /**
     * 月付额度
     */
    private double monthPay;
    /**
     * 首期付款额
     */
    private double totalPrePayment;
    /**
     * 贷款购车
     */
    private double loanTotal;
    /**
     * 差额
     */
    private double diffMoney;


    public double total(){
        return licenseTax
                + purchaseTax + usageTax + trafficInsurance +thirdInsurance
                + damageInsurance + stolenInsurance + glassInsurance +combustInsurance
                + noDeductibleInsurance + noLiabilityInsurance + passengerInsurance
                + carBodyInsurance + waterInsurance ;
    }
    public double loanTotal(){
       return this.totalPrePayment = prePay + total();
    }

    public double getTotalPrePayment() {
        return totalPrePayment;
    }

    public void setTotalPrePayment(double totalPrePayment) {
        this.totalPrePayment = totalPrePayment;
    }

    public double getLicenseTax() {
        return licenseTax;
    }

    public void setLicenseTax(double licenseTax) {
        this.licenseTax = licenseTax;
    }

    public double getPurchaseTax() {
        return purchaseTax;
    }

    public void setPurchaseTax(double purchaseTax) {
        this.purchaseTax = purchaseTax;
    }

    public double getUsageTax() {
        return usageTax;
    }

    public void setUsageTax(double usageTax) {
        this.usageTax = usageTax;
    }

    public double getTrafficInsurance() {
        return trafficInsurance;
    }

    public void setTrafficInsurance(double trafficInsurance) {
        this.trafficInsurance = trafficInsurance;
    }

    public double getThirdInsurance() {
        return thirdInsurance;
    }

    public void setThirdInsurance(double thirdInsurance) {
        this.thirdInsurance = thirdInsurance;
    }

    public double getDamageInsurance() {
        return damageInsurance;
    }

    public void setDamageInsurance(double damageInsurance) {
        this.damageInsurance = damageInsurance;
    }

    public double getStolenInsurance() {
        return stolenInsurance;
    }

    public void setStolenInsurance(double stolenInsurance) {
        this.stolenInsurance = stolenInsurance;
    }

    public double getGlassInsurance() {
        return glassInsurance;
    }

    public void setGlassInsurance(double glassInsurance) {
        this.glassInsurance = glassInsurance;
    }

    public double getCombustInsurance() {
        return combustInsurance;
    }

    public void setCombustInsurance(double combustInsurance) {
        this.combustInsurance = combustInsurance;
    }

    public double getNoDeductibleInsurance() {
        return noDeductibleInsurance;
    }

    public void setNoDeductibleInsurance(double noDeductibleInsurance) {
        this.noDeductibleInsurance = noDeductibleInsurance;
    }

    public double getNoLiabilityInsurance() {
        return noLiabilityInsurance;
    }

    public void setNoLiabilityInsurance(double noLiabilityInsurance) {
        this.noLiabilityInsurance = noLiabilityInsurance;
    }

    public double getPassengerInsurance() {
        return passengerInsurance;
    }

    public void setPassengerInsurance(double passengerInsurance) {
        this.passengerInsurance = passengerInsurance;
    }

    public double getCarBodyInsurance() {
        return carBodyInsurance;
    }

    public void setCarBodyInsurance(double carBodyInsurance) {
        this.carBodyInsurance = carBodyInsurance;
    }

    public double getWaterInsurance() {
        return waterInsurance;
    }

    public void setWaterInsurance(double waterInsurance) {
        this.waterInsurance = waterInsurance;
    }

    public double getTotal() {
        return total;
    }

    public void setTotal(double total) {
        this.total = total;
    }

    public double getPrePay() {
        return prePay;
    }

    public void setPrePay(double prePay) {
        this.prePay = prePay;
    }

    public double getLoanMoney() {
        return loanMoney;
    }

    public void setLoanMoney(double loanMoney) {
        this.loanMoney = loanMoney;
    }

    public double getMonthPay() {
        return monthPay;
    }

    public void setMonthPay(double monthPay) {
        this.monthPay = monthPay;
    }

    public double getLoanTotal() {
        return loanTotal;
    }

    public void setLoanTotal(double loanTotal) {
        this.loanTotal = loanTotal;
    }

    public double getDiffMoney() {
        return diffMoney;
    }

    public void setDiffMoney(double diffMoney) {
        this.diffMoney = diffMoney;
    }
}
